package cn.tedu.micro.demo.order.repository;

import cn.tedu.micro.demo.common.pojo.po.OrderInfoPO;
import cn.tedu.micro.demo.order.mapper.OrderInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderRepositoryImpl implements OrderRepository{
    @Autowired
    private OrderInfoMapper orderInfoMapper;

    @Override
    public void insert(OrderInfoPO order) {
        orderInfoMapper.insert( order);
    }
}
